</head>

<body>
<div class="container-narrow">

      <div class="masthead">
      	<?php session_start(); if($_SESSION["status"] != "authorized") { ?>
        <ul class="nav nav-pills pull-right">
          <li <?php if(isset($_SESSION["home"])) echo 'class="active"'; ?>><a href="<?=$home?>">Home</a></li>
          <li <?php if(isset($_SESSION["login"])) echo 'class="active"'; ?>><a href="<?=$login?>">Login</a></li>
          <li <?php if(isset($_SESSION["signup"])) echo 'class="active"'; ?>><a href="<?=$signup?>">Sign Up</a></li>
        </ul>
        <?php } else { ?>
      
        <p class="pull-right">Hello, <?=$_SESSION["name"]?>.<br />
        <a href="<?=$logout?>">Logout</a></p>
        
        	
        <?php } ?>
        
        <h3 class="muted">Lorerider</h3>
      </div>

      <hr>